package com.qy139.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qy139.entity.TabRoleMenu;

import java.util.List;

/**
 * <p>
 * 角色和菜单关联表 Mapper 接口
 * </p>
 *
 * @author yuhaochen
 * @since 2021-12-01
 */
public interface TabRoleMenuMapper extends BaseMapper<TabRoleMenu> {
    //根据角色查询其拥有的资源
    List<Integer> findMenuIdByRoleId(Integer id);
}
